<template>
  <div class="gl_contentBox gl_heightFull">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="学员卡设置" name="first">
        <StudentCard />
      </el-tab-pane>
      <el-tab-pane label="标签设置" name="second">标签设置</el-tab-pane>
      <el-tab-pane label="积分设置" name="third">
        <PointsSettings />
      </el-tab-pane>
      <el-tab-pane label="权限设置" name="fourth">权限设置</el-tab-pane>
      <el-tab-pane label="员工管理" name="five">
        <StaffManagement />
      </el-tab-pane>
      <el-tab-pane label="首款设置" name="six">设置</el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import StudentCard from './studentsCard/studentCard';
import StaffManagement from './staffManagement/staffManagement';
import PointsSettings from './pointsSettings/pointsSettings';

export default {
  name: 'SystemSettings',
  components: {
    StudentCard,
    StaffManagement,
    PointsSettings
  },
  data() {
    return {
      activeName: 'third'
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    }
  }
};
</script>

<style scoped>
</style>
